Feed.fromJson constructor

Feed.fromJson(
  1. Map json_
)

Implementation

Feed.fromJson(core.Map json_)
    : this(
        courseRosterChangesInfo: json_.containsKey('courseRosterChangesInfo')
            ? CourseRosterChangesInfo.fromJson(
                json_['courseRosterChangesInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        courseWorkChangesInfo: json_.containsKey('courseWorkChangesInfo')
            ? CourseWorkChangesInfo.fromJson(json_['courseWorkChangesInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        feedType: json_.containsKey('feedType')
            ? json_['feedType'] as core.String
            : null,
      );