toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dateLimits != null) 'dateLimits': dateLimits!,
      if (integerLimits != null) 'integerLimits': integerLimits!,
      if (longTextLimits != null) 'longTextLimits': longTextLimits!,
      if (maxDescriptionLength != null)
        'maxDescriptionLength': maxDescriptionLength!,
      if (maxDisplayNameLength != null)
        'maxDisplayNameLength': maxDisplayNameLength!,
      if (maxIdLength != null) 'maxIdLength': maxIdLength!,
      if (selectionLimits != null) 'selectionLimits': selectionLimits!,
      if (textLimits != null) 'textLimits': textLimits!,
      if (userLimits != null) 'userLimits': userLimits!,
    };