toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final logStreams = this.logStreams;
  return {
    if (enabled != null) 'Enabled': enabled,
    if (logStreams != null) 'LogStreams': logStreams,
  };
}