toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final jobBookmarksEncryptionMode = this.jobBookmarksEncryptionMode;
  final kmsKeyArn = this.kmsKeyArn;
  return {
    if (jobBookmarksEncryptionMode != null)
      'JobBookmarksEncryptionMode': jobBookmarksEncryptionMode.toValue(),
    if (kmsKeyArn != null) 'KmsKeyArn': kmsKeyArn,
  };
}