Skip to content

ServiceRegistration

A DeviceRegistration for a ServiceConfiguration.

Inheritance
Annotations

Constructors

ServiceRegistration.fromJson

ServiceRegistration.fromJson(
  1. Map<String, dynamic> json
)

ServiceRegistration

ServiceRegistration({
  1. String? deviceId,
  2. String? deviceDisplayName,
  3. DateTime? registrationCreatedOn,
  4. bool isConnected = false,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.