ResourceReference.fromJson constructor

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

Implementation

factory ResourceReference.fromJson(Map<String, dynamic> json) {
  return ResourceReference(
    type: json['type'] ?? '',
    childType: json['childType'] ?? '',
  );
}