CallArg property

BcsType<Map<String, dynamic>, dynamic> CallArg
final

Implementation

static final CallArg = Bcs.enumeration('CallArg', {
  'Pure': Bcs.struct('Pure', {
    'bytes': Bcs.vector(Bcs.u8()).transform(
      input: (dynamic val) => val is String ? fromB64(val) : val,
      output: (List<int> val) => toB64(Uint8List.fromList(val)),
    ),
  }),
  'Object': ObjectArg,
});