toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (all != null) 'all': all!,
      if (groupLabels != null) 'groupLabels': groupLabels!,
      if (instanceNamePrefixes != null)
        'instanceNamePrefixes': instanceNamePrefixes!,
      if (instances != null) 'instances': instances!,
      if (zones != null) 'zones': zones!,
    };