decode static method

Implementation

static VirtualBackgroundSourceEnabledEvent decode(Object result) {
  result as List<Object?>;
  return VirtualBackgroundSourceEnabledEvent(
    enabled: result[0]! as bool,
    reason: result[1]! as int,
  );
}