GroupCallVideoSourceGroup.fromJson constructor

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

Parse from a json

Implementation

factory GroupCallVideoSourceGroup.fromJson(Map<String, dynamic> json) =>
    GroupCallVideoSourceGroup(
      semantics: json['semantics'],
      sourceIds: List<int>.from(
          (json['source_ids'] ?? []).map((item) => item).toList()),
    );