PaymentChallenge.fromJSON(Map<String, dynamic> json) : name = json['name'], type = json['type'], path = json['path'];