decode static method
Implementation
static SearchRequest decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return SearchRequest(
timeFrom: pigeonMap['timeFrom']! as String,
timeTo: pigeonMap['timeTo']! as String,
);
}