Model.fromJson constructor

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

Implementation

factory Model.fromJson(Map<String, dynamic> json) {
  return Model(
    contentType: json['contentType'] as String?,
    description: json['description'] as String?,
    id: json['id'] as String?,
    name: json['name'] as String?,
    schema: json['schema'] as String?,
  );
}