dataToJson method

  1. @override
Map<String, dynamic> dataToJson(
  1. GHeroForEpisodeData data
)

Serializes data into a JSON object This is a simple wrapper on the toJson method on the data class

Implementation

@override
Map<String, dynamic> dataToJson(_i2.GHeroForEpisodeData data) =>
    data.toJson();