ActivateDeviceResponse.fromJson constructor

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

Implementation

factory ActivateDeviceResponse.fromJson(Map<String, dynamic> json) =>
    ActivateDeviceResponse(
      key: json["key"],
      duration: json["duration"],
      length: json["length"],
    );