URLRule class

URL RULE

Inheritance

Constructors

URLRule(String attribute)

Properties

attribute String
getter/setter pairinherited
description String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
getter/setter pairinherited
title String
getter/setter pairinherited

Methods

alert(dynamic context, {ToastNotificationStyleType style = ToastNotificationStyleType.WARNING, Duration? duration}) → dynamic
The alert which will be displayed.
inherited
handle(Map<String, dynamic> info) bool
Handle the validation, the info variable will contain the following: info'rule' = Validation rule i.e "min". info'data' = Data the user has passed into the validation. info'message' = Overriding message to be displayed for validation (optional).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited