toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (avroConfig != null) 'avroConfig': avroConfig!,
      if (bucket != null) 'bucket': bucket!,
      if (filenamePrefix != null) 'filenamePrefix': filenamePrefix!,
      if (filenameSuffix != null) 'filenameSuffix': filenameSuffix!,
      if (maxBytes != null) 'maxBytes': maxBytes!,
      if (maxDuration != null) 'maxDuration': maxDuration!,
      if (serviceAccountEmail != null)
        'serviceAccountEmail': serviceAccountEmail!,
      if (state != null) 'state': state!,
      if (textConfig != null) 'textConfig': textConfig!,
    };