serialize method

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

Serializes the object to a map.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "accountType": accountType.value,
    "packSet": packSet,
    "master": master,
    "metadata": metadata,
    "tokenAccount": tokenAccount,
    "maxSupply": maxSupply,
    "weight": weight
  };
}