toJson method

Map<String, dynamic> toJson()

Implementation

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