DatasetAccess.fromJson constructor

DatasetAccess.fromJson(
  1. Map json_
)

Implementation

DatasetAccess.fromJson(core.Map json_)
    : this(
        dataset: json_.containsKey('dataset')
            ? DatasetAccessEntry.fromJson(
                json_['dataset'] as core.Map<core.String, core.dynamic>)
            : null,
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        groupByEmail: json_.containsKey('groupByEmail')
            ? json_['groupByEmail'] as core.String
            : null,
        iamMember: json_.containsKey('iamMember')
            ? json_['iamMember'] as core.String
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
        routine: json_.containsKey('routine')
            ? RoutineReference.fromJson(
                json_['routine'] as core.Map<core.String, core.dynamic>)
            : null,
        specialGroup: json_.containsKey('specialGroup')
            ? json_['specialGroup'] as core.String
            : null,
        userByEmail: json_.containsKey('userByEmail')
            ? json_['userByEmail'] as core.String
            : null,
        view: json_.containsKey('view')
            ? TableReference.fromJson(
                json_['view'] as core.Map<core.String, core.dynamic>)
            : null,
      );