Band class

CDMA Band model class Contains the attributes of CDMA Band Attributes: channelNumber, name, number Methods: toJson, fromJson Example: var cdmaBand = Band(channelNumber: 1, name: "CDMA", number: 1);

Constructors

Band({int? channelNumber, String? name, int? number})
Constructs a Band object
Band.fromJson(Map<String, dynamic> json)
Constructs a Band object from a JSON object

Properties

channelNumber int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
getter/setter pair
number int?
getter/setter pair
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>
Converts a Band object to a JSON object
toString() String
A string representation of this object.
inherited

Operators

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