decode static method

Rect decode(
  1. Object message
)

Implementation

static Rect decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return Rect(
    left: pigeonMap['left']! as double,
    top: pigeonMap['top']! as double,
    right: pigeonMap['right']! as double,
    bottom: pigeonMap['bottom']! as double,
    width: pigeonMap['width']! as double,
    height: pigeonMap['height']! as double,
  );
}