parseProfile function

FutureOr<Profile> parseProfile(
  1. String? response
)

Implementation

FutureOr<Profile> parseProfile(String? response) {
  dynamic parsed = jsonDecode(response!);
  return Profile.fromJson(parsed);
}