Stub class
origin: stm_portal_mob/lib/models/stub.dart author: anovsiradj, opencode-go/glm-5.2 version: 2024-07-25, revised: 2026-08-17
Empty @JsonSerializable template — copy-paste seed for new models.
Run dart run build_runner build to generate stub.g.dart.
- Annotations
-
- @JsonSerializable.new()
Constructors
- Stub()
-
Stub.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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 ==(
Object other) → bool -
The equality operator.
inherited