All checks were successful
ci/woodpecker/push/build Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@posteo.com>
15 lines
567 B
Dart
15 lines
567 B
Dart
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:grpc/grpc_web.dart';
|
|
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart';
|
|
import 'package:softplayer_dart_proto/accounts/v1/accounts_v1.pbgrpc.dart';
|
|
import 'package:softplayer_web/core/grpc/grpc_client.dart';
|
|
|
|
final accountsGrpcProvider = Provider<AccountsGrpcRepository>((ref) {
|
|
return AccountsGrpcRepository(ref.watch(accountsServiceClientProvider));
|
|
});
|
|
|
|
class AccountsGrpcRepository {
|
|
AccountsGrpcRepository(this._client);
|
|
final AccountsServiceClient _client;
|
|
}
|