toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedIntValues != null) 'allowedIntValues': allowedIntValues!,
      if (allowedStringValues != null)
        'allowedStringValues': allowedStringValues!,
      if (appliesTo != null) 'appliesTo': appliesTo!,
      if (inBeta != null) 'inBeta': inBeta!,
      if (kind != null) 'kind': kind!,
      if (maxValue != null) 'maxValue': maxValue!,
      if (minValue != null) 'minValue': minValue!,
      if (name != null) 'name': name!,
      if (requiresRestart != null) 'requiresRestart': requiresRestart!,
      if (type != null) 'type': type!,
    };