new project stable version

This commit is contained in:
2026-05-10 19:11:31 +03:00
commit 3616f84556
391 changed files with 23857 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import 'package:be_happy/domain/entities/tariff.dart';
class TariffsResponse {
final List<Tariff> tariffs;
TariffsResponse({required this.tariffs});
factory TariffsResponse.fromJson(Map<String, dynamic> json) {
return TariffsResponse(
tariffs: (json['data'] as List<dynamic>)
.map((e) => Tariff.fromJson(e as Map<String, dynamic>))
.toList(),
);
}
}