fromJson static method

StartLiveStoryResultFail? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static StartLiveStoryResultFail? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return StartLiveStoryResultFail(
    errorType: CanPostStoryResult.fromJson(tdMapFromJson(json['error_type'])),
  );
}