toJson method
Implementation
Map<String, dynamic> toJson() {
final enabled = this.enabled;
final logGroupName = this.logGroupName;
final logStreamName = this.logStreamName;
return {
if (enabled != null) 'Enabled': enabled,
if (logGroupName != null) 'LogGroupName': logGroupName,
if (logStreamName != null) 'LogStreamName': logStreamName,
};
}