GRPCAction class
G R P C Action.
Constructors
- GRPCAction({required int port, String? service})
-
Default constructor.
const
-
GRPCAction.fromJson(Map<
String, dynamic> json) -
Creates a GRPCAction from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → int
-
Port number of the gRPC service. Number must be in the range 1 to 65535.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → String?
-
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a GRPCAction instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited