domain_objects 0.2.0-nullsafety domain_objects: ^0.2.0-nullsafety copied to clipboard
Home for all shared domain objects that are common for both bewell-consumer and bewell-professional app
import 'package:domain_objects/entities.dart';
import 'package:domain_objects/value_objects.dart';
import 'package:flutter/material.dart';
void main() {
runApp(DomainObjectsExample());
}
class DomainObjectsExample extends StatelessWidget {
DomainObjectsExample({Key? key}) : super(key: key);
/// Use this package to define custom concrete types
/// The example below uses this package's `BioData` type.
final BioData? userBio = BioData(firstName: Name.fromJson('firstname'));
@override
Widget build(BuildContext context) {
return Container();
}
}