toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final connectionState = this.connectionState;
  final host = this.host;
  final location = this.location;
  final name = this.name;
  final serviceAttachment = this.serviceAttachment;
  final state = this.state;
  return {
    'connectionState': ?connectionState,
    'host': ?host,
    'location': ?location,
    'name': ?name,
    'serviceAttachment': ?serviceAttachment,
    'state': ?state,
  };
}