StarTransactionTypeTelegramApiUsage.fromJson constructor

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

Parses a StarTransactionTypeTelegramApiUsage from TDLib JSON.

Implementation

factory StarTransactionTypeTelegramApiUsage.fromJson(
  Map<String, dynamic> json,
) => StarTransactionTypeTelegramApiUsage(
  requestCount: _readInt(json['request_count']),
);