FieldPolicy.fromJson constructor

FieldPolicy.fromJson(
  1. Map json_
)

Implementation

FieldPolicy.fromJson(core.Map json_)
    : this(
        resourcePermission: json_.containsKey('resourcePermission')
            ? json_['resourcePermission'] as core.String
            : null,
        resourceType: json_.containsKey('resourceType')
            ? json_['resourceType'] as core.String
            : null,
        selector: json_.containsKey('selector')
            ? json_['selector'] as core.String
            : null,
      );