toJson method

Map<String, dynamic> toJson()

For use with a JsonEncoder to generate this Asset's Contents.json file.

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'images': images.map((image) => image.toJson()).toList(),
      'info': {'author': 'icons_launcher', 'version': 1}
    };