PaymayaContact.fromJson constructor

PaymayaContact.fromJson(
  1. String source
)

Simple contact info. Example:

  final contact = PaymayaContact(
    email:'paymaya@flutter.com',
    phone:'0912345689',
  );

Implementation

factory PaymayaContact.fromJson(String source) =>
    PaymayaContact.fromMap(json.decode(source));