OpenChannel.fromJson constructor

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

Implementation

factory OpenChannel.fromJson(Map<String, dynamic> json) {
  return _$OpenChannelFromJson(json)
    ..set(SendbirdChat().chat); // Set the singleton chat
}