toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'id': id,
      'src': src,
      'name': name,
      'alt': alt,
      'date_created': dateCreated,
      'date_modified_gmt': dateModifiedGMT,
      'date_modified': dateModified,
      'date_created_gmt': dateCreatedGMT
    };