toJson method

Map<String, dynamic> toJson()

Implementation

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