toJson method
Implementation
Map<String, dynamic> toJson() {
final bundleId = this.bundleId;
final certificate = this.certificate;
final defaultAuthenticationMethod = this.defaultAuthenticationMethod;
final enabled = this.enabled;
final privateKey = this.privateKey;
final teamId = this.teamId;
final tokenKey = this.tokenKey;
final tokenKeyId = this.tokenKeyId;
return {
if (bundleId != null) 'BundleId': bundleId,
if (certificate != null) 'Certificate': certificate,
if (defaultAuthenticationMethod != null)
'DefaultAuthenticationMethod': defaultAuthenticationMethod,
if (enabled != null) 'Enabled': enabled,
if (privateKey != null) 'PrivateKey': privateKey,
if (teamId != null) 'TeamId': teamId,
if (tokenKey != null) 'TokenKey': tokenKey,
if (tokenKeyId != null) 'TokenKeyId': tokenKeyId,
};
}