Honoring Asian Pacific American Heritage Month. See how.

strictnessFromFlags function

CallStrictness strictnessFromFlags (int dynamicFlags)

Extract the CallStrictness from the dynamic flags byte of the message header.

Implementation

CallStrictness strictnessFromFlags(int dynamicFlags) {
  if ((dynamicFlags & _kDynamicFlagsFlexible) != 0) {
    return CallStrictness.flexible;
  }
  return CallStrictness.strict;
}