toJson method

Map<String, dynamic> toJson()

JSON serialization

Implementation

Map<String, dynamic> toJson() => {'hash': toString()};