toJson method

Map<String, dynamic> toJson()

Creates a json map from a ValueClass

Implementation

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