Этот репозиторий содержит Flutter плагины для платформы ОС Аврора.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
849 B

// SPDX-FileCopyrightText: Copyright 2023 Open Mobile Platform LLC <community@omp.ru>
// SPDX-License-Identifier: BSD-3-Clause
import 'package:flutter/widgets.dart';
import 'package:flutter_example_packages/packages/freezed/user_entity.dart';
import 'package:flutter_example_packages/packages/freezed/user_entity_freezed.dart';
import 'package:scoped_model/scoped_model.dart';
/// Model for [FreezedPage]
class FreezedModel extends Model {
/// Get [ScopedModel]
static FreezedModel of(BuildContext context) =>
ScopedModel.of<FreezedModel>(context);
UserEntity userEntity = UserEntity.fromJson(const {
'name': 'Default',
'email': 'default@yandex.ru',
'age': 12,
});
UserEntityFreezed userEntityFreezed = UserEntityFreezed.fromJson(const {
'name': 'Default',
'email': 'default@yandex.ru',
'age': 12,
});
}