onResponse method

dynamic onResponse(
  1. Map<String, dynamic> jsonResponse
)

Implementation

onResponse(Map<String, dynamic> jsonResponse) {
  String? linkFiveUUID = jsonResponse["linkFiveUUID"];
  if (linkFiveUUID != null &&
      linkFiveUUID.isNotEmpty &&
      linkFiveUUID != _linkFiveUUID) {
    LinkFiveLogger.d("Setting LinkFive UUID $linkFiveUUID");
    _linkFiveUUID = linkFiveUUID;
    LinkFivePrefs().linkFiveUUID = linkFiveUUID;
  }
}