InputPassportElementUtilityBill.fromJson constructor

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

Parses a InputPassportElementUtilityBill from TDLib JSON.

Implementation

factory InputPassportElementUtilityBill.fromJson(Map<String, dynamic> json) =>
    InputPassportElementUtilityBill(
      utilityBill: _readObject(
        json['utility_bill'],
        InputPersonalDocument.fromJson,
      ),
    );