decode static method

ServiceConfigResult decode(
  1. Object result
)

Implementation

static ServiceConfigResult decode(Object result) {
  result as List<Object?>;
  return ServiceConfigResult(
    isSuccess: result[0] as bool?,
    error: result[1] as String?,
    serviceConfig: result[2] as ServiceConfig?,
  );
}