decode static method

CGPoint decode(
  1. Object result
)

Implementation

static CGPoint decode(Object result) {
  result as List<Object?>;
  return CGPoint(
    x: result[0]! as double,
    y: result[1]! as double,
  );
}