pure static method

Map<String, dynamic> pure(
  1. dynamic data, [
  2. String? type
])

Implementation

static Map<String, dynamic> pure(dynamic data, [String? type]) {
  return {
		  "\$kind": 'Pure',
		  "Pure": {
			"bytes": data is Uint8List ? toB64(data) : (data as SerializedBcs).toBase64(),
		  },
  };
}