fromJson static method
Inherited by: StartLiveStoryResultFail StartLiveStoryResultOk
Implementation
static StartLiveStoryResultFail? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return StartLiveStoryResultFail(
errorType: CanPostStoryResult.fromJson(tdMapFromJson(json['error_type'])),
);
}