StreamConfig.fromJson constructor

StreamConfig.fromJson(
  1. Map json_
)

Implementation

StreamConfig.fromJson(core.Map json_)
    : this(
        bigqueryDestination: json_.containsKey('bigqueryDestination')
            ? GoogleCloudHealthcareV1FhirBigQueryDestination.fromJson(
                json_['bigqueryDestination']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deidentifiedStoreDestination:
            json_.containsKey('deidentifiedStoreDestination')
                ? DeidentifiedStoreDestination.fromJson(
                    json_['deidentifiedStoreDestination']
                        as core.Map<core.String, core.dynamic>)
                : null,
        resourceTypes: json_.containsKey('resourceTypes')
            ? (json_['resourceTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );