toJson method
Implementation
Map<String, dynamic> toJson() {
final serviceRole = this.serviceRole;
final versionLifecycleConfig = this.versionLifecycleConfig;
return {
if (serviceRole != null) 'ServiceRole': serviceRole,
if (versionLifecycleConfig != null)
'VersionLifecycleConfig': versionLifecycleConfig,
};
}