decode static method
Implementation
static LoginRequest decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return LoginRequest(
ip: pigeonMap['ip']! as String,
port: pigeonMap['port']! as int,
username: pigeonMap['username']! as String,
password: pigeonMap['password']! as String,
channelNo: pigeonMap['channelNo']! as int,
);
}