feature(registration): fix location model

This commit is contained in:
mso7nueh
2024-07-29 11:20:01 +03:00
parent 818721a993
commit f96c6b53d6
4 changed files with 20 additions and 19 deletions

View File

@@ -8,7 +8,8 @@ part of 'location_model.dart';
_$LocationModelImpl _$$LocationModelImplFromJson(Map<String, dynamic> json) =>
_$LocationModelImpl(
locations: json['locations'] as Map<String, dynamic>,
locations:
(json['locations'] as List<dynamic>).map((e) => e as String).toList(),
responseBody: json['response_body'] as String,
);