GcsDestinationConfig.fromJson constructor
GcsDestinationConfig.fromJson(
- 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_.containsKey('fileRotationInterval')
? json_['fileRotationInterval'] as core.String
: null,
fileRotationMb: json_.containsKey('fileRotationMb')
? json_['fileRotationMb'] as core.int
: null,
jsonFileFormat: json_.containsKey('jsonFileFormat')
? JsonFileFormat.fromJson(json_['jsonFileFormat']
as core.Map<core.String, core.dynamic>)
: null,
path: json_.containsKey('path') ? json_['path'] as core.String : null,
);