encode method
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['from'] = from;
pigeonMap['to'] = to;
pigeonMap['filename'] = filename;
pigeonMap['filesize'] = filesize;
return pigeonMap;
}