Service class
Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.
Constructors
- Service({Attributes? attributes, String? createTime, String? description, String? discoveredService, String? displayName, String? name, ServiceProperties? serviceProperties, ServiceReference? serviceReference, String? state, String? uid, String? updateTime})
- Service.fromJson(Map json_)
Properties
- attributes ↔ Attributes?
-
Consumer provided attributes.
getter/setter pair
- createTime ↔ String?
-
Create time.
getter/setter pair
- description ↔ String?
-
User-defined description of a Service.
getter/setter pair
- discoveredService ↔ String?
-
The resource name of the original discovered service.
getter/setter pair
- displayName ↔ String?
-
User-defined name for the Service.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Identifier.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceProperties ↔ ServiceProperties?
-
Properties of an underlying compute resource that can comprise a Service.
getter/setter pair
- serviceReference ↔ ServiceReference?
-
Reference to an underlying networking resource that can comprise a
Service.
getter/setter pair
- state ↔ String?
-
Service state.
getter/setter pair
- uid ↔ String?
-
A universally unique identifier (UUID) for the
Service
in the UUID4 format.getter/setter pair - updateTime ↔ String?
-
Update time.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited