toyyibpay_sdk 1.0.1

  • Readme
  • Changelog
  • Installing
  • 57

toyyibpay_sdk #

Pub Version

lorem

Installation #

on pubspec.yaml

dependencies:
  toyyibpay_sdk: 

What?, Why?, How? #

What #

lorem

Why #

Problem

lorem

Solution

lorem

How #

lorem

Example

lorem

Result

lorem

Contents #

Getting started #

  1. lorem

Usage #

lorem

Examples #

lorem lorem

Glossary #

lorem

Support #

I'm open contribution for documentation, bug report, code maintenance, etc. properly submit an issue or send a pull request.

Documentation #

any typos, grammar error, unintended word, or ambiguous meaning. you can PR. or maybe create an issue. this is the one i really need your help

Bug/Error #

any bugs, unintended word comments, confusing variable naming. you can create an issue, but also a PR really appreciated.

Feature request #

any missing feature, cool feature, like prefix json key command, or dynamic changing. you can create an issue, or write a dart extension for it.

Contribute #

if you want to help maintain this library, kindly read Contributing.md.

Or #

you can buy me a coffee:

Donate Now
ToyyibPay
Thanks for your support.

1.0.0 #

  • Initial version

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  toyyibpay_sdk: ^1.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:toyyibpay_sdk/models/bank/bank.dart';
import 'package:toyyibpay_sdk/models/bank/bank.g.dart';
import 'package:toyyibpay_sdk/models/bank/bankFPX.dart';
import 'package:toyyibpay_sdk/models/bank/bankFPX.g.dart';
import 'package:toyyibpay_sdk/models/bank/bankFPXs.dart';
import 'package:toyyibpay_sdk/models/bank/bankFPXs.g.dart';
import 'package:toyyibpay_sdk/models/bank/banks.dart';
import 'package:toyyibpay_sdk/models/bank/banks.g.dart';
import 'package:toyyibpay_sdk/models/bank/banksFPXs.dart';
import 'package:toyyibpay_sdk/models/bank/banksFPXs.g.dart';
import 'package:toyyibpay_sdk/models/bill/bill.dart';
import 'package:toyyibpay_sdk/models/bill/bill.g.dart';
import 'package:toyyibpay_sdk/models/bill/billCode.dart';
import 'package:toyyibpay_sdk/models/bill/billCode.g.dart';
import 'package:toyyibpay_sdk/models/bill/billCodes.dart';
import 'package:toyyibpay_sdk/models/bill/billCodes.g.dart';
import 'package:toyyibpay_sdk/models/bill/bills.dart';
import 'package:toyyibpay_sdk/models/bill/bills.g.dart';
import 'package:toyyibpay_sdk/models/bill/transaction.dart';
import 'package:toyyibpay_sdk/models/bill/transaction.g.dart';
import 'package:toyyibpay_sdk/models/bill/transactions.dart';
import 'package:toyyibpay_sdk/models/bill/transactions.g.dart';
import 'package:toyyibpay_sdk/models/category/categories.dart';
import 'package:toyyibpay_sdk/models/category/categories.g.dart';
import 'package:toyyibpay_sdk/models/category/category.dart';
import 'package:toyyibpay_sdk/models/category/category.g.dart';
import 'package:toyyibpay_sdk/models/category/categoryCode.dart';
import 'package:toyyibpay_sdk/models/category/categoryCode.g.dart';
import 'package:toyyibpay_sdk/models/category/categoryCodes.dart';
import 'package:toyyibpay_sdk/models/category/categoryCodes.g.dart';
import 'package:toyyibpay_sdk/models/index.dart';
import 'package:toyyibpay_sdk/models/package/package.dart';
import 'package:toyyibpay_sdk/models/package/package.g.dart';
import 'package:toyyibpay_sdk/models/package/packages.dart';
import 'package:toyyibpay_sdk/models/package/packages.g.dart';
import 'package:toyyibpay_sdk/models/settlement/settlement.dart';
import 'package:toyyibpay_sdk/models/settlement/settlement.g.dart';
import 'package:toyyibpay_sdk/models/settlement/settlements.dart';
import 'package:toyyibpay_sdk/models/settlement/settlements.g.dart';
import 'package:toyyibpay_sdk/models/settlement/settlementSummaries.dart';
import 'package:toyyibpay_sdk/models/settlement/settlementSummaries.g.dart';
import 'package:toyyibpay_sdk/models/settlement/settlementSummary.dart';
import 'package:toyyibpay_sdk/models/settlement/settlementSummary.g.dart';
import 'package:toyyibpay_sdk/models/user/user.dart';
import 'package:toyyibpay_sdk/models/user/user.g.dart';
import 'package:toyyibpay_sdk/models/user/userCreated.dart';
import 'package:toyyibpay_sdk/models/user/userCreated.g.dart';
import 'package:toyyibpay_sdk/models/user/userCreateds.dart';
import 'package:toyyibpay_sdk/models/user/userCreateds.g.dart';
import 'package:toyyibpay_sdk/models/user/users.dart';
import 'package:toyyibpay_sdk/models/user/users.g.dart';
import 'package:toyyibpay_sdk/models/user/userStatus.dart';
import 'package:toyyibpay_sdk/models/user/userStatus.g.dart';
import 'package:toyyibpay_sdk/models/user/userStatuses.dart';
import 'package:toyyibpay_sdk/models/user/userStatuses.g.dart';
import 'package:toyyibpay_sdk/toyyibpay_dart.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
16
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
92
Overall:
Weighted score of the above. [more]
57
Learn more about scoring.

We analyzed this package on Jul 3, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Health suggestions

Format lib/models/bank/bank.dart.

Run dartfmt to format lib/models/bank/bank.dart.

Format lib/models/bank/bankFPX.dart.

Run dartfmt to format lib/models/bank/bankFPX.dart.

Format lib/models/bank/bankFPXs.dart.

Run dartfmt to format lib/models/bank/bankFPXs.dart.

Fix additional 24 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/models/bank/banks.dart (Run dartfmt to format lib/models/bank/banks.dart.)
  • lib/models/bank/banksFPXs.dart (Run dartfmt to format lib/models/bank/banksFPXs.dart.)
  • lib/models/bill/bill.dart (Run dartfmt to format lib/models/bill/bill.dart.)
  • lib/models/bill/billCode.dart (Run dartfmt to format lib/models/bill/billCode.dart.)
  • lib/models/bill/billCodes.dart (Run dartfmt to format lib/models/bill/billCodes.dart.)
  • lib/models/bill/bills.dart (Run dartfmt to format lib/models/bill/bills.dart.)
  • lib/models/bill/transaction.dart (Run dartfmt to format lib/models/bill/transaction.dart.)
  • lib/models/bill/transactions.dart (Run dartfmt to format lib/models/bill/transactions.dart.)
  • lib/models/category/categories.dart (Run dartfmt to format lib/models/category/categories.dart.)
  • lib/models/category/category.dart (Run dartfmt to format lib/models/category/category.dart.)
  • lib/models/category/categoryCode.dart (Run dartfmt to format lib/models/category/categoryCode.dart.)
  • lib/models/category/categoryCodes.dart (Run dartfmt to format lib/models/category/categoryCodes.dart.)
  • lib/models/package/package.dart (Run dartfmt to format lib/models/package/package.dart.)
  • lib/models/package/packages.dart (Run dartfmt to format lib/models/package/packages.dart.)
  • lib/models/settlement/settlement.dart (Run dartfmt to format lib/models/settlement/settlement.dart.)
  • lib/models/settlement/settlementSummaries.dart (Run dartfmt to format lib/models/settlement/settlementSummaries.dart.)
  • lib/models/settlement/settlementSummary.dart (Run dartfmt to format lib/models/settlement/settlementSummary.dart.)
  • lib/models/settlement/settlements.dart (Run dartfmt to format lib/models/settlement/settlements.dart.)
  • lib/models/user/user.dart (Run dartfmt to format lib/models/user/user.dart.)
  • lib/models/user/userCreated.dart (Run dartfmt to format lib/models/user/userCreated.dart.)
  • lib/models/user/userCreateds.dart (Run dartfmt to format lib/models/user/userCreateds.dart.)
  • lib/models/user/userStatus.dart (Run dartfmt to format lib/models/user/userStatus.dart.)
  • lib/models/user/userStatuses.dart (Run dartfmt to format lib/models/user/userStatuses.dart.)
  • lib/models/user/users.dart (Run dartfmt to format lib/models/user/users.dart.)

Maintenance suggestions

The package description is too short. (-8 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and toyyibpay_sdk.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
http ^0.12.0+4 0.12.1
json_annotation ^3.0.1 3.0.1
meta ^1.1.8 1.1.8
path ^1.6.4 1.7.0
Transitive dependencies
charcode 1.1.3
collection 1.14.13
http_parser 3.1.4
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0
Dev dependencies
json_serializable any
json_to_model ^1.3.9
pedantic ^1.8.0 1.9.0 1.9.1
test ^1.6.0