toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'script_hash': scriptHash,
    'type': type,
    'serialised_size': serialisedSize,
  };
}