ResourceId.fromJson constructor

ResourceId.fromJson(
  1. Map json_
)

Implementation

ResourceId.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );