LinkAssociation.fromJson constructor

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

Implementation

factory LinkAssociation.fromJson(Map<String, dynamic> json) {
  return LinkAssociation(
    deviceId: json['DeviceId'] as String?,
    globalNetworkId: json['GlobalNetworkId'] as String?,
    linkAssociationState:
        (json['LinkAssociationState'] as String?)?.toLinkAssociationState(),
    linkId: json['LinkId'] as String?,
  );
}