encode method
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['ip'] = ip;
pigeonMap['port'] = port;
pigeonMap['username'] = username;
pigeonMap['password'] = password;
pigeonMap['channelNo'] = channelNo;
return pigeonMap;
}