toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "value": _value == null ? null : _value,
      "is_prefill": _isPrefill == null ? null : _isPrefill,
      "is_valid": _isValid == null ? null : _isValid,
      "markup": _markup == null ? null : _markup,
      "is_pristine": isPristine == null ? null : isPristine,
      "position": position == null ? null : position!.toMap(),
    };