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