toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final maxLength = this.maxLength;
  final minLength = this.minLength;
  return {'maxLength': ?maxLength, 'minLength': ?minLength};
}