fromJson static method
Inherited by: StartLiveStoryResultFail StartLiveStoryResultOk
Implementation
static StartLiveStoryResult? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
switch (json['@type']) {
case StartLiveStoryResultFail.constructor:
return StartLiveStoryResultFail.fromJson(json);
case StartLiveStoryResultOk.constructor:
return StartLiveStoryResultOk.fromJson(json);
default:
return null;
}
}