MembershipsLevelSnippet.fromJson constructor

MembershipsLevelSnippet.fromJson(
  1. Map json_
)

Implementation

MembershipsLevelSnippet.fromJson(core.Map json_)
    : this(
        creatorChannelId: json_.containsKey('creatorChannelId')
            ? json_['creatorChannelId'] as core.String
            : null,
        levelDetails: json_.containsKey('levelDetails')
            ? LevelDetails.fromJson(
                json_['levelDetails'] as core.Map<core.String, core.dynamic>)
            : null,
      );