decode static method

AppleConnectionOptions decode(
  1. Object result
)

Implementation

static AppleConnectionOptions decode(Object result) {
  result as List<Object?>;
  return AppleConnectionOptions(
    notifyOnConnection: result[0] as bool?,
    notifyOnDisconnection: result[1] as bool?,
    notifyOnNotification: result[2] as bool?,
  );
}