encodeField static method
List<int>
encodeField(
- Object value,
- ProtoFieldConfig config, {
- ProtoSyntax syntax = ProtoSyntax.v2,
Implementation
static List<int> encodeField(
Object value,
ProtoFieldConfig config, {
ProtoSyntax syntax = ProtoSyntax.v2,
}) {
return _encodeField(value: value, config: config, syntax: syntax) ?? [];
}