toJson abstract method

Map<String, dynamic> toJson()

Add a way to convert this class to Json

Implementation

Map<String, dynamic> toJson();