TransactionMeta constructor

TransactionMeta({@required String callbackUrl @required String purpose @required String data })

Implementation

factory TransactionMeta({
  @required String callbackUrl,
  @required String purpose,
  @required String data,
}) {
  assert(callbackUrl != null,
      'TransactionMeta [callbackUrl] should not be null');
  assert(purpose != null, 'TransactionMeta [purpose] should not be null');
  assert(data != null, 'TransactionMeta [data] should not be null');
  return TransactionMeta._(callbackUrl, purpose, data);
}