$TextOptions.fromJson constructor

$TextOptions.fromJson(
  1. Map json_
)

Implementation

$TextOptions.fromJson(core.Map json_)
    : this(
        maxLength: json_.containsKey('maxLength')
            ? json_['maxLength'] as core.int
            : null,
        minLength: json_.containsKey('minLength')
            ? json_['minLength'] as core.int
            : null,
      );