GM Consult Core DART libraries

Core DART libraries that provide a framework for GM Consult DART applications.

THIS PACKAGE IS A PROPRIETARY, UNLISTED RESOURCE AND SUBJECT TO BREAKING CHANGES WITHOUT NOTICE.

Skip to section:

Overview

Key classes:

  • Metadata for the enterprise is provided in the GMConsult as static constant class fields.
  • Use the Language class for strongly-typed, locale-aware language identifiers
  • Use the JsonApi class to GET or POST JSON data from/to a RESTful API.
  • Use the ApiEndpoint class for strongly typed object retrieval from a RESTful API that returns JSON documents.
  • the Array and Matrix classes provide ordered n-based collections.

(back to top)

Usage

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  gmconsult_dart_core: <latest_version>

In your code file add the following import:

// import the core interfaces, classes and mixins
import 'package:gmconsult_dart_core/dart_core.dart';

// import the typedefs if needed
import 'package:gmconsult_dart_core/type_definitions.dart';

// import the extensions if needed
import 'package:gmconsult_dart_core/extensions.dart';

See the examples for code snippets.

(back to top)

API

API documentation is available on pub.dev/

(back to top)

Definitions

None

(back to top)

References

None

(back to top)

Issues

GM Consult team members should log issues and bugs.

This project is an internal package for GM Consult projects and we cannot respond to pull requests or issues raised by non team members.

(back to top)

Libraries

dart_core
Core DART libraries that provide a framework for GM Consult DART applications.
extensions
The extensions used in the package.
type_definitions
The typedefs used in the package.