toJson method

Map<String, dynamic> toJson()

Implementation

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