Sys class

Annotations
  • @JsonSerializable()

Constructors

Sys({required int type, required int id, required double? message, required String country, required DateTime sunrise, required DateTime sunset})
Sys.fromJson(Map<String, dynamic> json)
Connect the generated _$SysFromJson function to the fromJson factory.
factory

Properties

country String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
message double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sunrise DateTime
final
sunset DateTime
final
type int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Connect the generated _$SysToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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