搜尋套件、儲存庫與 APP 分類

套件詳情v0.0.1

proto_google

Dart 與 gRPC 的 Google API 公共介面定義。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
9
喜歡數
0
Pub 分數
140

安裝套件

flutter pub add proto_google

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Dart 套件,提供 Google API 的公開介面定義,可實現與 gRPC 服務的無縫整合。它提供符合 Google API 標準的預先定義協議緩衝區模式和介面,簡化與 Google 雲端和開發者服務的通訊。專為需要結構化資料交換的跨平台應用程式開發人員設計,支援 Android、iOS、Web、macOS、Windows 和 Linux 上的現代開發工作流程。此套件非常適合利用 Google Cloud 服務或在 Dart 專案中需要標準化 API 合約的團隊。

適用情境

  • 與 Google Cloud API 集成
  • 在 Dart 中建構 gRPC 客戶端
  • 標準化 API 合約
  • 跨平台應用開發
  • 從 proto 檔案自動產生程式碼
  • 與 Google 的 REST 和 gRPC 服務進行介接

主要特色

  • 預定義的 Google API 接口定義
  • 支援 gRPC 通訊
  • 跨平台相容性
  • 協定緩衝區模式整合
  • Easy Flutter pub 依賴管理
  • 與官方 Google API 標準對齊

適合對象

  • 使用 Google Cloud 服務的 Dart 開發人員
  • 在Flutter應用中實現gRPC的團隊
  • 需要標準化 API 合同的項目
  • 移動/網頁應用中的後端服務整合
  • 使用基於 protobuf 的 API 的開發人員

使用建議

  • 需要熟悉 gRPC 和協議緩衝區
  • 可能需要額外的工具來產生程式碼
  • 依賴外部 Google API 變化
  • 不是完整的 SDK——僅提供介面定義
  • 最好與 protoc 等程式碼產生工具搭配使用

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Introduction

Public interface definitions of Google APIs for Dart and gRPC.

This package is a fork of the protobuf_google package. The original repository can be found here.

Purpose of the Fork

Was not maintained from the last three years and using old protobuf as the dependency

Getting started

In your pubspec.yaml file add:

dependencies:
  proto_google: any

Usage

import 'package:proto_google/proto_google.dart';
  • If you are using the generated files from the .proto file and using any Google Pre-Defined DataTypes. Update the generated .dart as follows
import 'google/protobuf/any.pb.dart' as $0; // Just an example

with

import 'package:proto_google/proto_google.dart' as $0;

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。