toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final launchOrder = this.launchOrder;
  final serverGroupId = this.serverGroupId;
  final serverLaunchConfigurations = this.serverLaunchConfigurations;
  return {
    if (launchOrder != null) 'launchOrder': launchOrder,
    if (serverGroupId != null) 'serverGroupId': serverGroupId,
    if (serverLaunchConfigurations != null)
      'serverLaunchConfigurations': serverLaunchConfigurations,
  };
}