PropertySingleFile.fromJson constructor

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

Implementation

factory PropertySingleFile.fromJson(Map<String, dynamic> json) => PropertySingleFile(
      uuid: json['uuid'],
      position: json['position'],
      defaultFile: PropertyContent<MediaResourceFile>.fromJson(json['image']),
    );