GroupCallVideoSourceGroup.fromJson constructor

GroupCallVideoSourceGroup.fromJson(
  1. Map<String, dynamic> json
)

Parses a GroupCallVideoSourceGroup from TDLib JSON.

Implementation

factory GroupCallVideoSourceGroup.fromJson(Map<String, dynamic> json) =>
    GroupCallVideoSourceGroup(
      semantics: _readString(json['semantics']),
      sourceIds: _readList<int>(json['source_ids'], _readInt),
    );