ResourceInfo.fromJson constructor

ResourceInfo.fromJson(
  1. Map json_
)

Implementation

ResourceInfo.fromJson(core.Map json_)
    : this(
        permission: json_.containsKey('permission')
            ? json_['permission'] as core.String
            : null,
        resourceContainer: json_.containsKey('resourceContainer')
            ? json_['resourceContainer'] as core.String
            : null,
        resourceLocation: json_.containsKey('resourceLocation')
            ? json_['resourceLocation'] as core.String
            : null,
        resourceName: json_.containsKey('resourceName')
            ? json_['resourceName'] as core.String
            : null,
      );