frontendPlayer/lib/data/mock/mock_data.dart
2026-04-10 09:55:19 +03:30

36 lines
969 B
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class MockData {
static const Map<String, dynamic> loginSuccess = {
'success': true,
'access_token': 'mock_token_12345',
'token_type': 'Bearer',
'expires_at': null,
'user': {
'user_id': 1,
'user_name': 'کاربر مدرس ۱',
'user_role': 'student',
'user_phone': '09123456789',
},
};
static const Map<String, dynamic> dashboardStats = {
'plan': {
'name': 'پلن فضا',
'used': 0.1,
'total': 5.0, // GB
'days_left': 4,
},
'credit': {'amount': 140000, 'currency': 'تومان'},
'api_key': {'key': 'aMlwkVXZOPHy5GxW6YvSYQ', 'secret': 'SojAo='},
'rebranding': {'status': 'غیر فعال', 'is_active': false},
'chart_data': [
{'day': 1, 'value': 10},
{'day': 5, 'value': 40},
{'day': 10, 'value': 20},
{'day': 15, 'value': 50},
{'day': 20, 'value': 30},
{'day': 25, 'value': 60},
{'day': 30, 'value': 40},
],
};
}