decode static method
Implementation
static Endpoint decode(Object result) {
result as List<Object?>;
return Endpoint(
hespSrc: result[0] as String?,
hlsSrc: result[1] as String?,
cdn: result[2] as String?,
adSrc: result[3] as String?,
weight: result[4]! as double,
priority: result[5]! as int,
);
}