PropertyArListItem.fromJson constructor

PropertyArListItem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PropertyArListItem.fromJson(Map<String, dynamic> json) => PropertyArListItem(
      uuid: json['uuid'],
      position: json['position'],
      image: PropertyContent<MediaResourceImage>.fromJson(json['image']),
      title: PropertyContent<MediaResourceRichText>.fromJson(json['title']),
      description: PropertyContent<MediaResourceRichText>.fromJson(json['description']),
      coords: PropertyContent<MediaResourceRichText>.fromJson(json['coords']),
      data: PropertyContent<MediaResourceRichText>.fromJson(json['data']),
    );