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,
gcsFileFormat: _json.containsKey('gcsFileFormat')
? _json['gcsFileFormat'] as core.String
: 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,
);