ResourceInfo.fromJson constructor

ResourceInfo.fromJson(
  1. Map json_
)

Implementation

ResourceInfo.fromJson(core.Map json_)
    : this(
        container: json_.containsKey('container')
            ? json_['container'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        permission: json_.containsKey('permission')
            ? json_['permission'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );