Datamodel class

Datemodel.

Annotations
  • @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)

Constructors

Datamodel({required List<Model> models, required List<DatamodelEnum> enums, required List<Model> types})
Create a new datamodel.
const
Datamodel.fromJson(Map<String, dynamic> json)
Datemodel from JSON factory constructor.
factory

Properties

enums List<DatamodelEnum>
Datamodel enums.
final
hashCode int
The hash code for this object.
no setterinherited
models List<Model>
Models.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<Model>
types
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Datemodel as JSON map.
toString() String
Datemodel as JSON string.
override

Operators

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