domain_objects 0.2.2 copy "domain_objects: ^0.2.2" to clipboard
domain_objects: ^0.2.2 copied to clipboard

Home for all shared domain objects that are common for both bewell-consumer and bewell-professional app

example/main.dart

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();
  }
}
4
likes
100
pub points
3%
popularity

Publisher

verified publishersavannahghi.org

Home for all shared domain objects that are common for both bewell-consumer and bewell-professional app

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

dartz, flutter, freezed, freezed_annotation, intl, json_annotation, json_serializable

More

Packages that depend on domain_objects