toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (count != null) 'count': count!,
      if (instanceProperties != null)
        'instanceProperties': instanceProperties!,
      if (locationPolicy != null) 'locationPolicy': locationPolicy!,
      if (minCount != null) 'minCount': minCount!,
      if (namePattern != null) 'namePattern': namePattern!,
      if (perInstanceProperties != null)
        'perInstanceProperties': perInstanceProperties!,
      if (sourceInstanceTemplate != null)
        'sourceInstanceTemplate': sourceInstanceTemplate!,
    };