toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final iamRoleArn = this.iamRoleArn;
  final logGroupArn = this.logGroupArn;
  return {
    if (iamRoleArn != null) 'IamRoleArn': iamRoleArn,
    if (logGroupArn != null) 'LogGroupArn': logGroupArn,
  };
}