toJson method

  1. @override
dynamic toJson()
override

Converts the Plutus data to JSON.

Implementation

@override
toJson() {
  return {
    "map": {for (final i in value.entries) i.key.toJson(): i.value.toJson()}
  };
}