Transaction constructor

Transaction({
  1. Iterable<List<int>>? msgs,
  2. Iterable<List<int>>? signatures,
  3. String? memo,
  4. Int64? source,
  5. List<int>? data,
})

Implementation

factory Transaction({
  $core.Iterable<$core.List<$core.int>>? msgs,
  $core.Iterable<$core.List<$core.int>>? signatures,
  $core.String? memo,
  $fixnum.Int64? source,
  $core.List<$core.int>? data,
}) {
  final _result = create();
  if (msgs != null) {
    _result.msgs.addAll(msgs);
  }
  if (signatures != null) {
    _result.signatures.addAll(signatures);
  }
  if (memo != null) {
    _result.memo = memo;
  }
  if (source != null) {
    _result.source = source;
  }
  if (data != null) {
    _result.data = data;
  }
  return _result;
}