toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (minimumLength != null) {
    _json[r'MinimumLength'] = minimumLength;
  }
  if (lowercase != null) {
    _json[r'Lowercase'] = lowercase;
  }
  if (number != null) {
    _json[r'Number'] = number;
  }
  if (uppercase != null) {
    _json[r'Uppercase'] = uppercase;
  }
  if (symbol != null) {
    _json[r'Symbol'] = symbol;
  }
  return _json;
}