decode static method

Version decode(
  1. Object result
)

Implementation

static Version decode(Object result) {
  result as List<Object?>;
  return Version(
    major: result[0] as int?,
    middle: result[1] as int?,
    minor: result[2] as int?,
    build: result[3] as int?,
    year: result[4] as int?,
    month: result[5] as int?,
    day: result[6] as int?,
    hour: result[7] as int?,
    minute: result[8] as int?,
  );
}