retrofit.dart
retrofit.dart copied to clipboard
The method 'compute' isn't defined for the class '_RestClient'.
lib/example.g.dart:252:22: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. _value = await compute( ^^^^^^^ lib/example.g.dart:288:19: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. : await compute( ^^^^^^^ lib/example.g.dart:325:21: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. await compute( ^^^^^^^ lib/example.g.dart:362:25: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. await compute( ^^^^^^^ lib/example.g.dart:397:21: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. await compute(deserializeUserList, ^^^^^^^ lib/example.g.dart:429:22: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. _value = await compute(deserializeUser, _result.data!); ^^^^^^^ lib/example.g.dart:462:19: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. : await compute(deserializeUser, _result.data!); ^^^^^^^ lib/example.g.dart:477:19: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. r'u': await compute(serializeUser, user) ^^^^^^^ lib/example.g.dart:505:34: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. queryParameters.addAll(await compute(serializeUser, user)); ^^^^^^^ lib/example.g.dart:534:25: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. final _data = await compute(serializeUserList, users); ^^^^^^^ lib/example.g.dart:561:24: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. _data.addAll(await compute(serializeUser, user)); ^^^^^^^ lib/example.g.dart:590:17: Error: The method 'compute' isn't defined for the class '_RestClient'.
- '_RestClient' is from 'package:flutter_example/example.dart' ('lib/example.dart'). Try correcting the name to the name of an existing method, or defining a method named 'compute'. : await compute(serializeUser, user)); ^^^^^^^ Target kernel_snapshot_program failed: Exception