decode static method

StaticParameters decode(
  1. Object result
)

Implementation

static StaticParameters decode(Object result) {
  result as List<Object?>;
  return StaticParameters(
    osVersion: result[0] as String?,
    deviceModel: result[1] as String?,
    deviceId: result[2] as String?,
    appVersion: result[3] as String?,
    environment: result[4] != null
        ? EnvironmentEnum.values[result[4]! as int]
        : null,
    appBuild: result[5] as String?,
  );
}