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(
json['error_type'] as Map<String, dynamic>?)!,
);
}