ValidationFailureViewModel class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

ValidationFailureViewModel.new({String? propertyName, String? errorMessage, String? errorCode})
ValidationFailureViewModel.fromJson(Map<String, dynamic> json)
factory

Properties

errorCode String?
final
errorMessage String?
final
hashCode int
The hash code for this object.
no setteroverride
propertyName String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? propertyName, String? errorMessage, String? errorCode}) ValidationFailureViewModel

Available on ValidationFailureViewModel, provided by the $ValidationFailureViewModelExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const ValidationFailureViewModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ValidationFailureViewModel instance)