toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final copySourceArn = this.copySourceArn;
  final credentialPair = this.credentialPair;
  return {
    if (copySourceArn != null) 'CopySourceArn': copySourceArn,
    if (credentialPair != null) 'CredentialPair': credentialPair,
  };
}