getIdentificationTypes method
Implementation
Future<List<dynamic>?> getIdentificationTypes({int idTaxonomies = 0}) async {
const path = '/identification_types';
Future<List<dynamic>?> dataIdentificationTypes = httpService
.getWithCredentials(
path: path,
)
.then(
(http.Response? response) {
if (response?.statusCode == 200) {
List<dynamic> decodeData = json.decode(response!.body);
return decodeData;
}
return null;
},
);
return dataIdentificationTypes;
}