decode static method

NativeContextNetwork decode(
  1. Object result
)

Implementation

static NativeContextNetwork decode(Object result) {
  result as List<Object?>;
  return NativeContextNetwork(
    cellular: result[0] as bool?,
    wifi: result[1] as bool?,
    bluetooth: result[2] as bool?,
  );
}