fromMap static method
override
Construct from Map.
Implementation
static UpdateStorySendFailed? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var story = Story.fromMap(_map['story'])!;
var error = Error.fromMap(_map['error'])!;
var error_type = CanSendStoryResult.fromMap(_map['error_type']);
return UpdateStorySendFailed(
extra: extra,
clientId: clientId,
story: story,
error: error,
error_type: error_type,
);
}