decode static method

PreviewSize decode(
  1. Object result
)

Implementation

static PreviewSize decode(Object result) {
  result as List<Object?>;
  return PreviewSize(
    width: result[0]! as double,
    height: result[1]! as double,
  );
}