PropertyArModel.fromJson constructor

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

Implementation

factory PropertyArModel.fromJson(Map<String, dynamic> json) => PropertyArModel(
      uuid: json['uuid'],
      position: json['position'],
      model: PropertyContent<MediaResourceFile>.fromJson(json['model']),
      modelTitle: PropertyContent<MediaResourceRichText>.fromJson(json['model_description']),
    );