toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (acceptsMultipleValues != null)
    'acceptsMultipleValues': acceptsMultipleValues!,
  if (flagName != null) 'flagName': flagName!,
  if (integerRestrictions != null)
    'integerRestrictions': integerRestrictions!,
  if (name != null) 'name': name!,
  if (recommendedIntegerValue != null)
    'recommendedIntegerValue': recommendedIntegerValue!,
  if (recommendedStringValue != null)
    'recommendedStringValue': recommendedStringValue!,
  if (requiresDbRestart != null) 'requiresDbRestart': requiresDbRestart!,
  if (scope != null) 'scope': scope!,
  if (stringRestrictions != null) 'stringRestrictions': stringRestrictions!,
  if (supportedDbVersions != null)
    'supportedDbVersions': supportedDbVersions!,
  if (valueType != null) 'valueType': valueType!,
};