• Stars
    star
    18
  • Rank 1,208,065 (Top 24 %)
  • Language
    Dart
  • License
    Other
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Port of Apache-Validate to Dart

Validate

Lightweight library for validating function arguments in Dart.

This library is mainly a port of Apaches org.apache.commons.lang3.Validate class

Validation is necessary on most public-facing APIs. Parameter validation on non-public methods is not as important - it is often desirable to have validation occur only once, at the public 'entry point' - but if you can live with the potential performance hit, I recommend to validate parameters everywhere, as it makes code maintenance and refactoring a bit easier.

For further documentation please refere to the Unit-Tests.

History

  • 1.4.0 - Instance check added
  • 1.3.0 - Validate.isUUID added
  • 1.2.7 - Removed debug info from URIBuilder
  • 1.2.4 - Runs with Dart 1.1 + IntelliJ 13
  • 1.2.0 - isKeyInMap check added
  • 1.1.0 - isJson check added
  • 1.0.5 - Changed GitHub-Repository to dart-validate
  • 1.0.4 - Replaced NullPointerException with ArgumentError - makes more sense

You can see further changes on the CHANGELOG!

License

Copyright 2018 Michael Mitterer, IT-Consulting and Development Limited,
Austrian Branch

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, 
software distributed under the License is distributed on an 
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
either express or implied. See the License for the specific language 
governing permissions and limitations under the License.

If this plugin is helpful for you - please (Circle) me.

More Repositories

1

dart-material-design-lite

Material Design Lite Components, Directives + SPA with HTML, CSS + Dart
CSS
228
star
2

dart-latlong

Dart
63
star
3

dart-sitegen

Dart
41
star
4

vue-ts-sfc-starter

VUE / TypeScript SingleFileComponent Starter Template
JavaScript
33
star
5

dart-material-design-lite-site

Material Design Lite Components, Directives + SPA with HTML, CSS + Dart
CSS
28
star
6

dart-changelog

Dart
24
star
7

dart-wsk-material

HTML
23
star
8

dart-wsk-angular

HTML
19
star
9

dart-l10n-gettext

Dart
18
star
10

m4d_components

CSS
15
star
11

dryice

Dependency injection framework for Dart
Dart
15
star
12

dart-docker

Dart
9
star
13

fritzing-multimeter

Shell
9
star
14

DART-Sample-Polymer-Angular

Dart
9
star
15

dart-fcm-push

Dart
8
star
16

dart-space-invaders

Space-Invaders clone written in Dart
Dart
7
star
17

m4d_router

Router-Package for Material4Dart apps
Dart
7
star
18

ts-latlong

TypeScript
7
star
19

dart-prettify

Code beautifier for Dart - beautify the code snippets in your web page
CSS
6
star
20

DART-EventBus

6
star
21

dart-dasic

Dart
6
star
22

dart-stagedive

Dart
6
star
23

m4d_core

Dart
5
star
24

Nasdaq100

Nasdaq100
Java
5
star
25

dart-console_log_handler

Dart
5
star
26

DartBootStrap-Sample

dartbootstrap-sample
JavaScript
4
star
27

DART-HttpStatusCodes

Dart
4
star
28

dart-material-icons

CSS
4
star
29

cmake-dart-extension-master

C++
4
star
30

dart-mdl-theme

CSS
3
star
31

m4d_template

Dart
3
star
32

reflected_mustache

Dart
3
star
33

vuetify-ts-starter

TypeScript
3
star
34

RFSample

Sample Application for GWT RequestFactory. Also implements a one line client logger.
Java
3
star
35

vue-ts-starter

TypeScript
3
star
36

dart-shellcommand

Dart
3
star
37

cpp-alexa

Firmware for Sonoff device that talks with Alexa
C++
2
star
38

public.maven.repository

2
star
39

dart-http_utils

Dart
2
star
40

TourDeMobileFlex

PHP
2
star
41

xc-gcc_4.9.3_mac_rpi

2
star
42

m4d_spa

Dart
2
star
43

ts-spaceinvaders

SpaceInvader clone in TypeScript
TypeScript
2
star
44

mm_dam_filelist

PHP
2
star
45

kotlin-catshostel-sb

Spring Boot example
Kotlin
2
star
46

m4d_translate

Dart
2
star
47

SampleEventHandling

JavaScript
1
star
48

ts-check

JavaScript
1
star
49

m4d_animation

Dart
1
star
50

m4d

Dart
1
star
51

cpp-sonoff

CMake
1
star
52

tools-repackage-commons-codec

Shell
1
star
53

jQPlayGround

JavaScript
1
star
54

GITKit-Integration-Sample

Java
1
star
55

m4d_dialog

Dart
1
star
56

dart-WebUIDifferentViews

Dart
1
star
57

dart-git_version

Transformer to replace %version% in your .html or .dart-Files with the current GIT-Version
Dart
1
star
58

mm_dam_changeinfo

PHP
1
star
59

mm_hutinfo

PHP
1
star
60

Angular.PIndicator

CSS
1
star
61

cmake

CMake
1
star
62

mm_bccmsbase

PHP
1
star
63

nginx-multi-theme

SCSS
1
star
64

mm_propman

PHP
1
star
65

gradle-dart

Groovy
1
star
66

AndroidIconGenerator.DART

CSS
1
star
67

cms_test

HTML
1
star
68

mm_roundcorners

PHP
1
star
69

android-hybrid

Java
1
star
70

m4d_dnd

Dart
1
star
71

mm_reflist

PHP
1
star
72

esp32-websocket

C++
1
star
73

npm-hello-kotlin

JavaScript
1
star
74

objectvalidator.dart

Dart
1
star
75

m4d_form

Dart
1
star