domain_objects 0.0.30-nullsafety
domain_objects: ^0.0.30-nullsafety 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
110
pub points
80%
popularity

Publisher

savannahghi.org

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

Repository (GitHub)
View/report issues

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