GoogleDatastoreAdminV1ImportEntitiesRequest.fromJson constructor

GoogleDatastoreAdminV1ImportEntitiesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleDatastoreAdminV1ImportEntitiesRequest.fromJson(core.Map json_)
    : this(
        entityFilter: json_.containsKey('entityFilter')
            ? GoogleDatastoreAdminV1EntityFilter.fromJson(
                json_['entityFilter'] as core.Map<core.String, core.dynamic>)
            : null,
        inputUrl: json_.containsKey('inputUrl')
            ? json_['inputUrl'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );