fromJson static method

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

Implementation

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

  return CanPostStoryResultLiveStoryIsActive(
    storyId: (json['story_id'] as int?) ?? 0,
  );
}