IGroupCallRoomMemberState.fromJson constructor

IGroupCallRoomMemberState.fromJson(
  1. SDNEvent event
)

Implementation

IGroupCallRoomMemberState.fromJson(SDNEvent event) {
  if (event.content['m.calls'] != null) {
    (event.content['m.calls'] as List<dynamic>).forEach(
        (call) => calls.add(IGroupCallRoomMemberCallState.fromJson(call)));
  }
}