serialize method

  1. @override
Map<String, dynamic> serialize()
override

Serializes the object to a map.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "uuid": uuid,
    "symbol": symbol,
    "sellerFeeBasisPoints": sellerFeeBasisPoints,
    "creators": creators.map((e) => e.serialize()).toList(),
    "maxSupply": maxSupply,
    "isMutable": isMutable,
    "retainAuthority": retainAuthority,
    "maxNumberOfLines": maxNumberOfLines
  };
}