Entity.fromJson constructor

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

Implementation

factory Entity.fromJson(Map<String, dynamic> json) {
  return Entity(
    type: json['Type'] as String,
    identifier: json['Identifier'] as String?,
  );
}