decode static method

SearchRequest decode(
  1. Object message
)

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,
  );
}