Service class

Annotations
  • @freezed

Constructors

Service({required String id, required String type, required String serviceEndpoint})
Creates an instance of Service.
const
factory
Service.fromJson(Map<String, Object?> json)
Creates an instance of Service from a map of String, Object?.
factory

Properties

copyWith → $ServiceCopyWith<Service>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceEndpoint String
no setterinherited
type String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited