STKPush.fromJson constructor

STKPush.fromJson(
  1. Map json
)

Implementation

STKPush.fromJson(Map json)
    : amount = json['amount'],
      phoneNumber = json['phone_number'],
      narrative = json['narrative'];