toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() {
  return {
    'id': id,
    'appId': appId,
    'title': title,
    'url': url,
    'description': description,
    'icon': icon,
    'genres': genres,
    'genreIds': genreIds,
    'primaryGenre': primaryGenre,
    'primaryGenreId': primaryGenreId,
    'contentRating': contentRating,
    'languages': languages,
    'size': size,
    'requiredOsVersion': requiredOsVersion,
    'released': released.toIso8601String(),
    'updated': updated.toIso8601String(),
    'releaseNotes': releaseNotes,
    'version': version,
    'price': price,
    'currency': currency,
    'free': free,
    'developerId': developerId,
    'developer': developer,
    'developerUrl': developerUrl,
    'developerWebsite': developerWebsite,
    'score': score,
    'reviews': reviews,
    'currentVersionScore': currentVersionScore,
    'currentVersionReviews': currentVersionReviews,
    'screenshots': screenshots,
    'ipadScreenshots': ipadScreenshots,
    'appletvScreenshots': appletvScreenshots,
    'supportedDevices': supportedDevices,
  };
}