toJson method

Map<String, dynamic> toJson()

Converts MintInfo instance to JSON format.

Implementation

Map<String, dynamic> toJson() {
  return {policyID.toJson(): assets.toJson()};
}