PremiumSendGiftRes.fromJson constructor

PremiumSendGiftRes.fromJson(
  1. Map<String, dynamic> json
)

Implementation

PremiumSendGiftRes.fromJson(Map<String, dynamic> json) {
  successText = json['success_text'];
  wallet =
  json['wallet'] != null ? new PremiumWallet.fromJson(json['wallet']) : null;

  errorText = json['error_text'];
  successText = json['success_text'];
}