DeviceInfo.fromJson constructor

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

Implementation

DeviceInfo.fromJson(Map<String, dynamic> json)
    : name = json['name'],
      guid = json['guid'],
      type = json['type'];