toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (avroFileFormat != null) 'avroFileFormat': avroFileFormat!,
      if (fileRotationInterval != null)
        'fileRotationInterval': fileRotationInterval!,
      if (fileRotationMb != null) 'fileRotationMb': fileRotationMb!,
      if (jsonFileFormat != null) 'jsonFileFormat': jsonFileFormat!,
      if (path != null) 'path': path!,
    };