Valida.fromJson constructor

Valida.fromJson(
  1. Map<String, Object?> map
)

Implementation

factory Valida.fromJson(Map<String, Object?> map) {
  return Valida(
    nullableErrorLists: map['nullableErrorLists'] as bool?,
    constErrors: map['constErrors'] as bool?,
    enumFields: map['enumFields'] as bool?,
    customValidateName: map['customValidate'] as String?,
  );
}