CheckServerModel class
The CheckServerModel
class represents a model for checking server information.
It extends the ServerEntity
class.
- Available extensions
Constructors
- CheckServerModel({required String name, required String url, required String logo, required String status})
-
Creates a new instance of the
CheckServerModel
class.const -
CheckServerModel.fromJson(Map<
String, dynamic> json) -
Creates a new instance of the
CheckServerModel
class from a JSON map.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logo → String
-
The logo of the server.
finalinherited
- name → String
-
The name of the server.
finalinherited
-
props
→ List<
Object?> -
Returns a list of properties that are used to determine equality
between ServerEntity objects.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
The status of the server.
finalinherited
- stringify → bool
-
Returns whether the
toString
method should include all properties of the ServerEntity class.no setterinherited - url → String
-
The URL of the server.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited