toJson method

Map<String, dynamic> toJson()

Implementation

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