EmailAddressResetState.fromJson constructor
Parses whichever EmailAddressResetState subtype the JSON describes.
Implementation
factory EmailAddressResetState.fromJson(Map<String, dynamic> json) {
final object = tdObjectFactories[json['@type']]?.call(json);
return object is EmailAddressResetState
? object
: UndecodedEmailAddressResetState(json);
}