mirror of
https://github.com/flutter/samples.git
synced 2026-04-05 19:22:08 +00:00
Compass app (#2446)
This commit is contained in:
18
compass_app/app/testing/models/user.dart
Normal file
18
compass_app/app/testing/models/user.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
// Copyright 2024 The Flutter team. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:compass_app/data/services/api/model/user/user_api_model.dart';
|
||||
import 'package:compass_app/domain/models/user/user.dart';
|
||||
|
||||
const userApiModel = UserApiModel(
|
||||
id: 'ID',
|
||||
name: 'NAME',
|
||||
email: 'EMAIL',
|
||||
picture: 'assets/user.jpg',
|
||||
);
|
||||
|
||||
const user = User(
|
||||
name: 'NAME',
|
||||
picture: 'assets/user.jpg',
|
||||
);
|
||||
Reference in New Issue
Block a user