GcsDestinationConfig.fromJson constructor

GcsDestinationConfig.fromJson(
  1. Map json_
)

Implementation

GcsDestinationConfig.fromJson(core.Map json_)
  : this(
      avroFileFormat:
          json_.containsKey('avroFileFormat')
              ? AvroFileFormat.fromJson(
                json_['avroFileFormat']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      fileRotationInterval: json_['fileRotationInterval'] as core.String?,
      fileRotationMb: json_['fileRotationMb'] as core.int?,
      jsonFileFormat:
          json_.containsKey('jsonFileFormat')
              ? JsonFileFormat.fromJson(
                json_['jsonFileFormat']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      path: json_['path'] as core.String?,
    );