parseDiscoverResponse static method

Future<ScpResponseDiscover> parseDiscoverResponse(
  1. dynamic response,
  2. List<ScpDevice> devices
)

Implementation

static Future<ScpResponseDiscover> parseDiscoverResponse(
    var response, List<ScpDevice> devices) async {
  return await ScpResponseDiscover.fromJson(
    jsonDecode(response),
    devices,
    true,
  );
}