AdminMessage.fromJson constructor

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

Implementation

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