DatasetAccessEntry.fromJson constructor

DatasetAccessEntry.fromJson(
  1. Map json_
)

Implementation

DatasetAccessEntry.fromJson(core.Map json_)
    : this(
        dataset: json_.containsKey('dataset')
            ? DatasetReference.fromJson(
                json_['dataset'] as core.Map<core.String, core.dynamic>)
            : null,
        targetTypes: json_.containsKey('targetTypes')
            ? (json_['targetTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );