PropertyImagesBetweenDifferences.fromJson constructor

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

Implementation

factory PropertyImagesBetweenDifferences.fromJson(Map<String, dynamic> json) => PropertyImagesBetweenDifferences(
      uuid: json['uuid'],
      position: json['position'],
      imageBase: PropertyContent<MediaResourceImage>.fromJson(json['image_base']),
      imageWithDifferences: PropertyContent<MediaResourceImage>.fromJson(json['image_with_differences']),
    );