| # strictnessToFlags function | |
| int strictnessToFlags | |
| ([CallStrictness](../package-fidl_fidl/CallStrictness.md) strictness) | |
| <p>Convert CallStrictness to a byte that can be inserted into the dynamic flags | |
| portion of a message.</p> | |
| ## Implementation | |
| ```dart | |
| int strictnessToFlags(CallStrictness strictness) { | |
| switch (strictness) { | |
| case CallStrictness.strict: | |
| return 0x00; | |
| case CallStrictness.flexible: | |
| return _kDynamicFlagsFlexible; | |
| } | |
| } | |
| ``` | |