toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final logDriver = this.logDriver;
  final options = this.options;
  final secretOptions = this.secretOptions;
  return {
    'logDriver': logDriver.toValue(),
    if (options != null) 'options': options,
    if (secretOptions != null) 'secretOptions': secretOptions,
  };
}