toJson method

String toJson()

Simple contact info. Example:

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

Implementation

String toJson() => json.encode(toMap());