Warning class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Warning({required String warningType, required WarningWarningCode warningCode, required Cause cause})
Warning.fromJson(Map<String, dynamic> json)
factory

Properties

cause Cause
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warningCode WarningWarningCode
final
warningType String
final

Methods

copyWith({String? warningType, WarningWarningCode? warningCode, Cause? cause}) Warning

Available on Warning, provided by the $WarningExtension extension

copyWithWrapped({Wrapped<String>? warningType, Wrapped<WarningWarningCode>? warningCode, Wrapped<Cause>? cause}) Warning

Available on Warning, provided by the $WarningExtension 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.
override

Operators

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

Constants

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