PropertyBasicInformation.fromJson constructor

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

Implementation

factory PropertyBasicInformation.fromJson(Map<String, dynamic> json) => PropertyBasicInformation(
      uuid: json['uuid'],
      position: json['position'],
      title: PropertyContent<MediaResourceRichText>.fromJson(json['title']),
      subtitle: PropertyContent<MediaResourceRichText>.fromJson(json['subtitle']),
      paragraph: PropertyContent<MediaResourceRichText>.fromJson(json['paragraph']),
      location: PropertyContent<MediaResourceRichText>.fromJson(json['location']),
      coverImage: PropertyContent<MediaResourceImage>.fromJson(json['cover_image']),
    );