fromJson static method

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

Implementation

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

  return StoryContentLive(
    groupCallId: (json['group_call_id'] as int?) ?? 0,
    isRtmpStream: (json['is_rtmp_stream'] as bool?) ?? false,
  );
}