ChatPushConfigs.fromJson constructor

ChatPushConfigs.fromJson(
  1. Map map
)

Implementation

factory ChatPushConfigs.fromJson(Map map) {
  return ChatPushConfigs._private(
    displayStyle:
        map['pushStyle'] == 0 ? DisplayStyle.Simple : DisplayStyle.Summary,
    displayName: map["displayName"],
  );
}