decode static method

PlaybackRequest decode(
  1. Object message
)

Implementation

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