toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appInstances != null) 'appInstances': appInstances!,
      if (clusterInstances != null) 'clusterInstances': clusterInstances!,
      if (instanceNumber != null) 'instanceNumber': instanceNumber!,
      if (instanceRole != null) 'instanceRole': instanceRole!,
      if (virtualHostname != null) 'virtualHostname': virtualHostname!,
    };