EmailAddressAuthenticationCode.fromJson constructor

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

Parses a EmailAddressAuthenticationCode from TDLib JSON.

Implementation

factory EmailAddressAuthenticationCode.fromJson(Map<String, dynamic> json) =>
    EmailAddressAuthenticationCode(
      code: _readString(json['code']),
    );