decode static method

IntMsg decode(
  1. Object result
)

Implementation

static IntMsg decode(Object result) {
  result as List<Object?>;
  return IntMsg(
    value: result[0] as int?,
  );
}