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 (requiresDbRestart != null) 'requiresDbRestart': requiresDbRestart!,
      if (stringRestrictions != null)
        'stringRestrictions': stringRestrictions!,
      if (supportedDbVersions != null)
        'supportedDbVersions': supportedDbVersions!,
      if (valueType != null) 'valueType': valueType!,
    };