toJson method

Map<String, dynamic> toJson()

Converts instance to a map.

Implementation

Map<String, dynamic> toJson() {
  return toMap();
}