EMPushConfigs.fromJson constructor

EMPushConfigs.fromJson(
  1. Map map
)

Implementation

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