toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      ..._json,
      'images': images.map((k, v) => MapEntry(k, v.toJson())),
      'pack': pack.toJson(),
    };