Payment.fromJson(String json)

Source

Payment.fromJson(String json) {
  _initializeFromMap(JSON.decode(json));
}