toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'attributes': attributes != null
          ? attributes!.map((x) => x.toJson()).toList()
          : null,
      'background_image': backgroundImage,
      'description': description,
      'image': image,
      'image_url': imageUrl,
      'is_normalized': isNormalized,
      'name': name,
      'name_length': nameLength,
      'segment_length': segmentLength,
      'url': url,
      'version': version,
    };