ExtensionRangeOptionsDeclaration.deserialize constructor

ExtensionRangeOptionsDeclaration.deserialize(
  1. List<int> bytes
)

Implementation

factory ExtensionRangeOptionsDeclaration.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return ExtensionRangeOptionsDeclaration(
    number: decode.getInt<int?>(1),
    fullName: decode.getString<String?>(2),
    type: decode.getString<String?>(3),
    reserved: decode.getBool<bool?>(5),
    repeated: decode.getBool<bool?>(6),
  );
}